package com.shang.entity;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.MongoId;

@Data
@Document(collection = "comment2")
public class Comment2 {

    @MongoId
    private long comment_id;
    private String userName;
    private String data;
    private int endorse_num;
    private int scoreValue;
    private int isMark;
    private String content;
}
